package com.jh.paymentchannel.repository;

import com.jh.paymentchannel.pojo.PaymentOrderStatistic;

import java.util.Collection;
import java.util.List;
import java.util.Map;


/**
 * @author Fuchun
 * @since 1.0
 */
public interface PaymentOrderStatisticRepositoryCustom {

    long setTransferred(List<Long> posIds);

    long saveAndFlush(List<PaymentOrderStatistic> posList);

    Map<Long, Boolean> findIdAndTransferred(Collection<Long> posIds);
}
